﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Landscape.Examples.UserControls {
    public partial class MyButton : System.Web.UI.UserControl {
        public string buttonLabel {
            get;
            set;
        }
        protected void Page_Load(object sender, EventArgs e) {
            btnSubmit.Text = buttonLabel;
        }

        protected void btnSubmit_Click(object sender, EventArgs e) {
            btnSubmit.Text = "Clicked!";
        }
    }
}